package com.lb.pdm.mapper;

import com.lb.pdm.entity.KeyPersonnel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lb.pdm.entity.vo.KeyPersonnelVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 重点人口表 Mapper 接口
 * </p>
 *
 * @author pdm
 * @since 2025-10-29
 */
@Mapper
public interface KeyPersonnelMapper extends BaseMapper<KeyPersonnel> {
    List<KeyPersonnelVO> query(@Param("name") String name,
                               @Param("idCard") String idCard,
                               @Param("category") String category,
                               @Param("riskLevel") Byte riskLevel,
                               @Param("start") Integer start,
                               @Param("pageSize") Integer pageSize );
}
